<div id="content-login"  align="center" style="padding:20px 0;">
<strong><h3 align="left" style="padding-left:10px;">&nbsp;<img src="images/edit.png"> ข้อมูลอนุมัติการขออนุญาต </h3></strong>
<div class="clear"></div>

		<table class="tbContainer" width="95%" align="center" cellspacing="0" cellpadding="10" border="0">
			<tbody>
			<tr class="ui-state-error">
				<th class="ui-state-error tdlist">ลำดับ</th>
				<th align="left" class="ui-state-error tdlist">ประเภทข้อมูล</th>
				<th align="left" class="ui-state-error tdlist">เรื่อง</th>			
				<th class="ui-state-error tdlist">วันที่ขออนุญาต</th>	
				<!-- <th class="ui-state-error tdlist">ผู้ขออนอนุญาต</th>	 -->
				<th class="ui-state-error tdlist">สถานะ</th>
			</tr>
		  
		<?php foreach($requests as $key=>$request):?>
			<tr class="odd" onclick="window.location='member/approve_detail/<?=$request['id']?>'">
			  <td width="5%" align="center" class="tdlist"><?=$key+1?></td>
			  <td width="15%" align="left" style="cursor: pointer;" class="tdlist"><?=$request['typetitle']?></td>
			  <td width="50%" align="left" style="cursor: pointer;" class="tdlist"><?=$request['kntitle']?></td>		  
			  <td width="10%" align="center" style="cursor: pointer;" class="tdlist"><?=db_to_th($request['created'],false,'y')?></td>
			  <!-- <td><?=$request['req_username']?></td>	 -->	
			  <td width="10%" align="center" style="cursor: pointer;" class="tdlist"><?=$request['status']?></td>
			</tr>
		<?php endforeach;?>
			</tbody>
		</table>
				
</div>
